<link rel="Stylesheet" href="http://<cms::var type="global" name="imgserver">/js/buttons.css?v=20060327" type="text/css" >
<script src="http://<cms::var type="global" name="imgserver">/js/buttons.js" type="text/javascript"></script>

<style>
	body { background: #FFFFFF; margin: 0px; padding: 0px;     font-family: "Trebuchet MS",Trebuchet,"Lucinda Grande", verdana, arial, helvetica, sans-serif;
}
	.photo { border: 1px solid #666; margin: 5px; }
	.pickerbutton { padding: 6px; }
	#uploader { background: #666; color: #FFF; font-weight: bold; padding: 10px; padding-left: 47px;}
	.pad10 { padding: 10px; }
	form { margin: 0px; padding: 0px; }
        .small { font-size: 11px; line-height: 13px; font-weight: bold; text-align: center;}
</style>

<body>

	<div id="uploader">
	<form method="post" action="/photos.pl/upload" enctype="multipart/form-data" id="uploadForm">
		<input type="hidden" name="mode" value="minipicker">
		Upload a new photo: <input type="file" name="photo"> 
		<!--<input type="submit" value="Upload">-->
		<div style="position:absolute;top:10px;left:440px;width:70px;">
			<script>makeButton('smallblue','Upload','#','onclick="document.getElementById(\'uploadForm\').submit();return false;"','style="width:40px;"')</script>
		</div>
	</form>	
	</div>
	<cms::if type="page" name="less">
		<A href="/photos.pl/minipicker?offset=<cms::var type="page" name="less">"><img src="http://<cms::var type="global" name="imgserver">/img/picker_newer.gif" width="25" height="100" alt="newer photos" border="0" class="pickerbutton"></a>
	</cms::if>
	<cms::ifnot type="page" name="less">
		<img src="http://<cms::var type="global" name="imgserver">/img/blank.gif" width="25" height="100" class="pickerbutton">
	</cms::ifnot>
	<cms::fancylist over="photos">

		<a href="/photos.pl/picked?id=<cms::var type="photo" name="id">"><img src="http://<cms::var type="global" name="imgserver">/photos/<cms::var type="photo" name="userId">/100/<cms::var type="photo" name="id">.jpg" width="100" height="100" id="<cms::var type="photo" name="id">" class="photo" border="0"></a>

	</cms::fancylist>
    <cms::if type="page" name="more">
        <A href="/photos.pl/minipicker?offset=<cms::var type="page" name="more">"><img src="http://<cms::var type="global" name="imgserver">/img/picker_older.gif" width="25" height="100" alt="older photos" border="0" class="pickerbutton"></a>
    </cms::if>
    <cms::ifnot type="page" name="more">
       <img src="http://<cms::var type="global" name="imgserver">/img/blank.gif" width="25" height="100" class="pickerbutton">
    </cms::ifnot>
	<br />
	<div class="small">Click a photo to pick it for the contest!</div>
</body>
